Northwoods.GoSilverlight 1.3.5 Assembly
CheckMemberValid Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : CheckMemberValid Method

groupnodedata
the node data that is a group
membernodedata
a node data to be considered for adding to the group
ignoreexistingmembership
whether to ignore the membernodedata's existing group membership, because that member is being transferred out of its existing group
This predicate is true if adding a node to a group node would result in an invalid graph.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function CheckMemberValid( _
   ByVal groupnodedata As NodeType, _
   ByVal membernodedata As NodeType, _
   ByVal ignoreexistingmembership As Boolean _
) As Boolean
C# 
protected virtual bool CheckMemberValid( 
   NodeType groupnodedata,
   NodeType membernodedata,
   bool ignoreexistingmembership
)

Parameters

groupnodedata
the node data that is a group
membernodedata
a node data to be considered for adding to the group
ignoreexistingmembership
whether to ignore the membernodedata's existing group membership, because that member is being transferred out of its existing group

Return Value

This returns false for membership that would break the tree structure of the model's graph of groups.

Requirements

See Also

© 2012 All Rights Reserved.